import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import api from './api'
import fastClick from 'fastclick'
import '@js/htmlFontSize.js'
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)
import './icons' // 引入icons列表 并注册svg-icon组件
import './mock/data'
import Header from '@/components/Header.vue'
Vue.component('Header', Header)
import copyDialog from "@/components/copyDialog"
Vue.component('copyDialog', copyDialog)
fastClick.attach(document.body)
Vue.config.productionTip = false
Vue.prototype.$api = api
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
